<?php /* Smarty version 2.6.18, created on 2017-05-28 13:33:20
         compiled from longs.html */ ?>
<div class="scrollable backgroundcolorlightpink ng-scope others longs">
<link rel="stylesheet" href="../css/mobile/mobile-jquery-ui.css">
<div class="scrollable-content overthrow">

<div class="container-fluid cnsmall"> <!--container-->

     <div class="row darkredbg minheight lottery_holder" style="padding-left:10px">
    	<div class="padding10 clearfix">
    		<select id="game"  class="dropdowncentermenu3 marginright5 inlineblock needsclick">
		    		<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['game']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<option value="<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
" <?php if (( $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid'] == $this->_tpl_vars['gid'] )): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gname']; ?>
</option>
<?php endfor; endif; ?>
             </select>
             <input class="dropdowncentermenu2 needsclick" id="dates" readonly  value="<?php echo $this->_tpl_vars['thisday']; ?>
" style="display: inline-block; ">
        </div>
	</div>   
</div><!--container-->
  <div class="scrollable-content reportcontainer text-center overthrow">
        <table 
 <?php if ($this->_tpl_vars['fenlei'] == 107): ?>
  width='925' 
 <?php elseif ($this->_tpl_vars['fenlei'] == 163): ?> 
 width="100%"
 <?php elseif ($this->_tpl_vars['fenlei'] == 101): ?> 
 width='900' 
 <?php elseif ($this->_tpl_vars['fenlei'] == 161): ?> 
 width='1400' 
 <?php elseif ($this->_tpl_vars['fenlei'] == 103): ?> 
   width='900' 
 <?php elseif ($this->_tpl_vars['fenlei'] == 121): ?> 
 width='750' 
 <?php elseif ($this->_tpl_vars['fenlei'] == 100): ?> 
  width='1100' 
 <?php elseif ($this->_tpl_vars['fenlei'] == 151): ?> 
width="100%"
 <?php endif; ?>
        
        cellpadding="10" class="reporttbl cn list">
<thead  class="cnbig"><tr><th>期数</th><th 
 <?php if ($this->_tpl_vars['fenlei'] == 107): ?>
  width='475' 
  <?php elseif ($this->_tpl_vars['fenlei'] == 163): ?> 
  width="170"
 <?php elseif ($this->_tpl_vars['fenlei'] == 101): ?> 
  width='250' 
 <?php elseif ($this->_tpl_vars['fenlei'] == 161): ?> 
 width='840' 
 <?php elseif ($this->_tpl_vars['fenlei'] == 103): ?> 
   width='400' 
 <?php elseif ($this->_tpl_vars['fenlei'] == 121): ?> 
  width='250' 
 <?php elseif ($this->_tpl_vars['fenlei'] == 100): ?> 
 width='350' 
 <?php elseif ($this->_tpl_vars['fenlei'] == 151): ?> 
 width="60%"
 <?php endif; ?>
 >开出号码</th>
    <?php if ($this->_tpl_vars['fenlei'] == 107): ?>
    <th colspan="3" class="strong">冠亚军和</th><th colspan="5" class="strong">1～5 龙虎</th></tr>
    <?php elseif ($this->_tpl_vars['fenlei'] == 101): ?>
    <th colspan="3" class="strong">总和</th><th>龙虎</th><th>前三</th><th>中三</th><th>后三</th></tr>
    <?php elseif ($this->_tpl_vars['fenlei'] == 163): ?>
    <th colspan="3" class="strong">总和</th><th>前三</th></tr>
    <?php elseif ($this->_tpl_vars['fenlei'] == 103): ?>
    <th colspan="4" class="strong">总和</th><th>龙虎</th></tr>
    <?php elseif ($this->_tpl_vars['fenlei'] == 121): ?>
    <th colspan="4" class="strong">总和</th><th>龙虎</th></tr>
    <?php elseif ($this->_tpl_vars['fenlei'] == 161): ?>  
    <th colspan="4" class="strong">总和</th><th colspan="2" class="strong">比数量</th></tr> 
    <?php elseif ($this->_tpl_vars['fenlei'] == 151): ?>    
    <th colspan="2" class="strong">总和</th>
    <?php elseif ($this->_tpl_vars['fenlei'] == 100): ?>
    <th colspan="3" class="strong">总和</th><th colspan="6" class="strong">特码</th></tr>
    <?php endif; ?>
</thead>
<tbody>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['list']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<tr>
<td><span class="green cnbig"><?php echo $this->_tpl_vars['list'][$this->_sections['i']['index']]['qishu']; ?>
</span><br><span class="cn"><?php echo $this->_tpl_vars['list'][$this->_sections['i']['index']]['time']; ?>
</span></td>
<td>
<div class="T<?php echo $this->_tpl_vars['fenlei']; ?>
">
<?php $_from = $this->_tpl_vars['list'][$this->_sections['i']['index']]['ma']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['s'] => $this->_tpl_vars['k']):
?>
          <?php if ($this->_tpl_vars['s'] == 6 & $this->_tpl_vars['gid'] == 100): ?>
             <div  style="background:none;float:left;width:30px;height:25px;line-height:25px;">特</div>
          <?php endif; ?>
          <?php if ($this->_tpl_vars['k'] != ''): ?><div class="resultitem b<?php echo $this->_tpl_vars['k']; ?>
"><?php echo $this->_tpl_vars['k']; ?>
</div><?php endif; ?>
<?php endforeach; endif; unset($_from); ?>

              </div>
              </td>


<?php $_from = $this->_tpl_vars['list'][$this->_sections['i']['index']]['m']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['n']):
?>
 <td class="other
   <?php if (( $this->_tpl_vars['n'] == '和' )): ?> 
     he
   <?php elseif (( $this->_tpl_vars['n'] == "大" | $this->_tpl_vars['n'] == "合单" | $this->_tpl_vars['n'] == "尾大" | $this->_tpl_vars['n'] == "家" | $this->_tpl_vars['n'] == "单(多)" | $this->_tpl_vars['n'] == "前(多)" | $this->_tpl_vars['n'] == "龙" | $this->_tpl_vars['n'] == "单" )): ?>
     g1
     <?php elseif (( $this->_tpl_vars['n'] == "小" | $this->_tpl_vars['n'] == "合双" | $this->_tpl_vars['n'] == "尾小" | $this->_tpl_vars['n'] == "野" | $this->_tpl_vars['n'] == "双(多)" | $this->_tpl_vars['n'] == "后(多)" | $this->_tpl_vars['n'] == "虎" | $this->_tpl_vars['n'] == "双" )): ?>
     g2
     <?php elseif (( $this->_tpl_vars['n'] == "单双(和)" | $this->_tpl_vars['n'] == "前后(和)" )): ?>
     g3
   <?php endif; ?>"><?php echo $this->_tpl_vars['n']; ?>
</td>
<?php endforeach; endif; unset($_from); ?>
</tr>
<?php endfor; endif; ?>
</tbody></table>
    </div>
<div class="gap100" style="height:200px;"></div>
    </div>
     
    
	<style type="text/css">
.list td.he{color:blue !important;}
.list td.g1{color:red !important}
.list td.g2{color:black;}
.list td.g3{color:blue !important}
</style>

</div>
